{@each data as ls, index}
    <tr id="tr_${index}">
        <td>${ls.cityName}</td>
        <td>${ls.innerShopName}</td>
        <td>${ls.innerShopId}</td>
        <td>${ls.outerShopId}</td>
        <td>${ls.innerShopStatus}</td>
        {@if ls.outerShopOnline == true}
        <td>上线</td>
        {@else}
        <td>下线</td>
        {@/if}
        <td>${ls.outerShopStatus}</td>
        <td>${ls.ext}</td>
        <td>
            <div class="dropdown">
                <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu_${ls.innerShopId}" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
                    更多操作 <span class="caret"></span>
                </button>
                <ul class="dropdown-menu" aria-labelledby="dropdownMenu_' + ${index} + '">
                    <li><a target='' href='#'>更多操作</a></li>
                    <li><a onclick="openShopSrc(${ls.innerShopId})" target="_blank" >店铺详细信息</a></li>
                    <li><a href='javascript:void(0);' onclick="shopOnline(${ls.innerShopId},'${ls.outerShopId}',${index})">外店上线</a></li>
                    <li><a href='javascript:void(0);' onclick="shopSuspension(${ls.innerShopId},'${ls.outerShopId}',${index})">外店下线</a></li>
                    <li><a href='javascript:void(0);' onclick="shopFrozen(${ls.innerShopId},'${ls.outerShopId}',${index})">外店冻结</a></li>
                    <li><a href='javascript:void(0);' onclick="shopOffFrozen(${ls.innerShopId},'${ls.outerShopId}',${index})">外店解冻</a></li>
                    <!--<li id="shop-src"><a href='javascript:void(0);' onclick="openSrc('${ls.outerShopId}')">打开店铺链接</a></li>-->
                    <li id="shop-src"><a target="_blank" onclick="openSrc('${ls.detailUrl}')">打开店铺链接</a></li>
                </ul>
            </div>
        </td>
    </tr>
{@/each}
